FROM anapsix/alpine-java:8_server-jre_unlimited

MAINTAINER opgames(opgames.cn@gmail.com)

RUN ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime

RUN mkdir -p /mall4j

WORKDIR /mall4j

COPY ./target/yami-shop-admin-0.0.1-SNAPSHOT.jar ./

VOLUME /mall4j/upload

EXPOSE 8085

CMD java -jar -Xms256m -Xmx256m -Xss256k -XX:SurvivorRatio=8 -XX:+UseConcMarkSweepGC -Dspring.profiles.active=docker,quartz yami-shop-admin-0.0.1-SNAPSHOT.jar